﻿using System;
using System.Configuration;

namespace SaleOffVn.DataAccess
{
    public static class AppConfiguration
    {
        #region Public Properties

        public static string ConnectionStringName
        {
            get
            {
                return ConfigurationManager.AppSettings["ConnectionStringName"];
            }
        }
        
        public static string ConnectionString
        {
            get
            {
                return ConfigurationManager.ConnectionStrings[ConnectionStringName].ConnectionString;
            }
        }
        #endregion Public Properties
    }
}
